package com.sdses.weather.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "weather.moji")
@Data
public class MojiApiConfig {


    private String appcode;
    // 城市
    private String cityConditionUrl;
    private String cityConditionToken;
    //
    private String cityForecast24hoursUrl;
    private String cityForecast24hoursToken;
    //
    private String cityAlertUrl;
    private String cityAlertToken;
    //
    private String cityForecast15daysUrl;
    private String cityForecast15daysToken;
    // 经纬度
    private String conditionUrl;
    private String conditionToken;

    private String forecast24hoursUrl;
    private String forecast24hoursToken;

    //
    private String alertUrl;
    private String alertToken;
    //
    private String forecast15daysUrl;
    private String forecast15daysToken;
}
